using System;
using System.Collections.Generic;
using System.Text;

namespace Marlimer.Common
{
    public class msgResul
    {
        private Boolean resul = false;
        private String message = "";
        private object valueobj = null;

        public msgResul(String msj, Boolean res)
        {
            resul = res;
            message = msj;
        }

        public msgResul(String msj, Boolean res, object valobj)
        {
            resul = res;
            message = msj;
            valueobj = valobj; 
        }

        public Boolean result
        {
            get { return resul; }
            set { resul = value; }
        }

        public String mensaje
        {
            get { return message; }
            set { message = value; }
        }

        public object valorobj
        {
            get { return valueobj; }
            set { valueobj = value; }
        }
    }
}
